const express = require('express');
const router = express.Router();

// 导入处理函数
const routerHandler = require('../router_handler/room');

// 创建房间
router.post('/createRoom', routerHandler.createRoom);

// 查询房间
router.get('/queryRoom', routerHandler.roomQuery);

// 删除房间
router.delete('/deleteRoom', routerHandler.roomDelete);

module.exports = router;